﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using WebApplication1.MSG;
namespace WebApplication1
{
    public partial class Task_quick : System.Web.UI.Page
    {
        static string TaskFlag = "";
        static string WeChat = "";
        protected void Page_Load(object sender, EventArgs e)
        {

            if (!IsPostBack)
            {


                ViewState["UrlReferrer"] = Request.UrlReferrer.ToString();
            }
            TaskFlag = Request["Flag"].Trim().ToString();
            WeChat = Request["WeChat"].Trim().ToString();


            SendMSG sd = new SendMSG();
            sd.Send(WeChat, " 催办任务！http://www.cmuam.site/Task_Info_Simple.aspx?Flag=" + TaskFlag);
            Response.Redirect((String)ViewState["UrlReferrer"]);
        }
    }
}